package com.example.demo.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author : niu niu
 * @version : 1.0.0
 * @date : 2023/4/13 12:29
 */
@ConfigurationProperties(prefix = "student2")
@Component
@Data
public class Student2 {
    private Integer id;
    private String name;
    private String sex;
}
